{% extends 'base.html' %}
{% block content %}
  {% if form.errors %}
    <p>Your username and password didn't match. Please try again.</p>
  {% endif %}

  <form method="post" action="{% url django.contrib.auth.views.login %}">{% csrf_token %}
    <table>{{ form }}</table>
    <input type="submit" value="login" />
  </form>
{% endblock %}
